{@ 'Users' | {headTitle}}

{@ 'tabs' | {placeholder} | -captureStart}
<ul>
    <li class="active-tab"><a href=""><span>Users</span></a></li>
    <li><a href=""><span>Roles</span></a></li>
</ul>
{@ 'tabs' | {placeholder} | -captureEnd}

<h1>User Administration</h1>
<p>Here you can edit a user's information, manage his roles and set various other options</p>

<form class="mz-dl-form" method="{=|{form.getMethod}}" action="{=|{form.getAction}}" enctype="{=|{form.getEncType}}">
<fieldset>
    <legend>Select a user:</legend>
    <dl>
        <dt>
            <label for="{=|{form.criteria.getId}}">
                {=|{form.criteria.getLabel}}
                {=|{form.criteria.renderErrors}}
            </label>
        </dt>
        <dd>
            {=|{form.criteria.renderViewHelper}}
        </dd>
    </dl>
    <dl>
        <dt>
            <label for="{=|{form.query.getId}}">
                {=|{form.query.getLabel}}
                {=|{form.query.renderErrors}}
            </label>
        </dt>
        <dd>
            {=|{form.query.renderViewHelper}}
        </dd>
    </dl>
    <dl>
        <dd class="actions">
            {=|{form.search.renderViewHelper}}
        </dd>
    </dl>
</fieldset>
</form>
<form class="mz-dl-form" method="{=|{reg.getMethod}}" action="{=|{reg.getAction}}" enctype="{=|{reg.getEncType}}">
<fieldset>
    <legend>Create a new account: </legend>
    <dl>
        <dt>
            <label for="{=|{reg.username.getId}}">
                {=|{reg.username.getLabel}}
                {=|{reg.username.renderErrors}}
            </label>
        </dt>
        <dd>
            {=|{reg.username.renderViewHelper}}
        </dd>
    </dl>
    <dl>
        <dt>
            <label for="{=|{reg.email.getId}}">
                {=|{reg.email.getLabel}}
                {=|{reg.email.renderErrors}}
            </label>
        </dt>
        <dd>
            {=|{reg.email.renderViewHelper}}
        </dd>
    </dl>
    <dl>
        <dt>
            <label for="{=|{reg.password.getId}}">
                {=|{reg.password.getLabel}}
                {=|{reg.password.renderErrors}}
            </label>
        </dt>
        <dd>
            {=|{reg.password.renderViewHelper}}
        </dd>
    </dl>
    <dl>
        <dt>
            <label for="{=|{reg.passwordConfirm.getId}}">
                {=|{reg.passwordConfirm.getLabel}}
                {=|{reg.passwordConfirm.renderErrors}}
            </label>
        </dt>
        <dd>
            {=|{reg.passwordConfirm.renderViewHelper}}
        </dd>
    </dl>
    <dl>
        <dd>
            {=|{reg.create.renderViewHelper}}
        </dd>
    </dl>
</fieldset>
</form>